﻿@page "/docs/extensions"

<Seo Canonical="/docs/extensions" Title="Blazorise extensions" Description="Learn about Blazorise UI extensions and how to properly install and use them to build your Blazor single page application." />

<DocsPageTitle Path="Extensions">
    Blazorise extensions
</DocsPageTitle>

<DocsPageLead>
    Learn about Blazorise extensions and how to properly install them to build your application.
</DocsPageLead>

<Row RowColumns="RowColumns.Are4.OnTablet.Are2.OnMobile">
    @foreach ( var info in ( PageEntries ?? Enumerable.Empty<PageEntry>() ).Where( x => x.Url.StartsWith( "docs/extensions" ) && !string.IsNullOrEmpty( x.Description ) ) )
    {
        <Column Margin="Margin.Is3.FromBottom">
            <DocsPageComponentInfo @key="@info" Name="@info.Name" Description="@info.Description" To="@info.Url" />
        </Column>
    }
</Row>
@code {
    public IEnumerable<PageEntry> PageEntries;

    [Inject] public PageEntryData PageEntriesData { get; set; }

    protected override async Task OnInitializedAsync()
    {
        PageEntries = await PageEntriesData.GetDataAsync();

        await base.OnInitializedAsync();
    }
}
